package com.huqing.icu.protocol;

import io.swagger.v3.oas.annotations.media.Schema;

public class BaseStateMap {

    public static final int OK = 2000000;

    @Schema(name = "2000000表示成功，其他表示错误", example = "2000000")
    private int code = OK;

    @Schema(name = "错误信息")
    private String msg = "Ok";

    public BaseStateMap() {

    }

    public BaseStateMap(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
